fix test_cargo_publish
authorAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 20 May 2016 14:00:15 +0000 (17:00 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 20 May 2016 14:00:15 +0000 (17:00 +0300)
tests/test_cargo_publish.rs

index 31d3c4641d892e087464e0cd44dc0b551dab0b58..bba868d4dceb4fc0cdc911c9e075de740c5d0098 100644 (file)
@@ -51,6 +51,7 @@ test!(simple {
     assert_that(p.cargo_process("publish").arg("--no-verify"),
                 execs().with_status(0).with_stderr(&format!("\
 [UPDATING] registry `{reg}`
+[WARNING] manifest has no documentation, [..]
 [PACKAGING] foo v0.0.1 ({dir})
 [UPLOADING] foo v0.0.1 ({dir})
 ",
@@ -100,6 +101,7 @@ test!(git_deps {
 
     assert_that(p.cargo_process("publish").arg("-v").arg("--no-verify"),
                 execs().with_status(101).with_stderr("\
+[UPDATING] registry [..]
 [ERROR] all dependencies must come from the same source.
 dependency `foo` comes from git://path/to/nowhere instead
 "));
@@ -129,6 +131,7 @@ test!(path_dependency_no_version {
 
     assert_that(p.cargo_process("publish"),
                 execs().with_status(101).with_stderr("\
+[UPDATING] registry [..]
 [ERROR] all path dependencies must have a version specified when publishing.
 dependency `bar` does not specify a version
 "));